﻿using JGSY.SmartIndustry.Dashboard.Core;

namespace JGSY.SmartIndustry.Dashboard.Models
{
    public class PortPropertyModel : NotifyBase
    {
        private string _portName;

        public string PortName
        {
            get { return _portName; }
            set { SetProperty<string>(ref _portName, value); }
        }

        public int BaudRate { get; set; } = 9600;
        public int DataBits { get; set; } = 8;
        public string StopBits { get; set; } = "1";
        public string Parity { get; set; } = "None";
    }
}
